package com.cw.DesignModel23.Structural.DecoratorPattern.Decorator2.Drink;

import com.cw.DesignModel23.Structural.DecoratorPattern.Decorator2.Drink.Drink;

//【缓冲类：整合所有咖啡的共同点，这个类不一定要写，要结合实际情况】
public class Coffee  extends Drink {

    @Override
    public float cost() {
        return super.getPrice();
    }

}

